<?php
if (!empty($_GET['id']))$idResidence=$_GET['id'];
else header('Location:./../index.php');
include_once dirname(__FILE__)."/../../ini.php";
include_once ROOTDIR.'/common/header.php';
include 'leftMenu.php';

$residence->setInfos();
$infos=$residence->getInfos();

print_r($infos);
echo "<br><br>";

$residence->setBonPlan();
$bonPlan=$residence->getBonPlan();

print_r($bonPlan);


?>
	
<?php 
include_once ROOTDIR.'/common/footer.php';
?>